Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broker and Trigger use delivery spec for dead letter messaging #723

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

gab-satchi
Copy link
Contributor

  • Plumbs deliverySpec.BackoffDelay through to the dispatcher

Note: The dispatcher creation for broker and trigger is very similar. Can be consolidated in a follow-up PR

/kind bug

Release Note

- backoffDelay is used when defined in Broker or Trigger delivery spec
- dead letter messaging uses the same delivery spec

@knative-prow knative-prow bot added kind/bug Categorizes issue or PR as related to a bug. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Apr 19, 2022
- Plumbs deliverySpec.BackoffDelay through to the dispatcher
@codecov
Copy link

codecov bot commented Apr 19, 2022

Codecov Report

Merging #723 (dee0a4e) into main (25f7eef) will increase coverage by 0.63%.
The diff coverage is 76.59%.

@@            Coverage Diff             @@
##             main     #723      +/-   ##
==========================================
+ Coverage   75.38%   76.02%   +0.63%     
==========================================
  Files          32       32              
  Lines        2397     2419      +22     
==========================================
+ Hits         1807     1839      +32     
+ Misses        523      511      -12     
- Partials       67       69       +2     
Impacted Files Coverage Δ
pkg/reconciler/trigger/trigger.go 64.32% <60.00%> (+3.39%) ⬆️
pkg/reconciler/broker/resources/dispatcher.go 89.69% <75.86%> (-5.90%) ⬇️
pkg/reconciler/broker/broker.go 90.37% <100.00%> (+0.04%) ⬆️
pkg/reconciler/trigger/resources/dispatcher.go 90.38% <100.00%> (+0.69%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 25f7eef...dee0a4e. Read the comment docs.

Copy link
Contributor

@gabo1208 gabo1208 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for test to pass to approve

@@ -242,6 +242,7 @@ func (r *Reconciler) reconcileDLXDispatcherDeployment(ctx context.Context, b *ev
Broker: b,
Image: r.dispatcherImage,
//ServiceAccountName string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit the comment goes in the line below

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Apr 20, 2022
@knative-prow
Copy link

knative-prow bot commented Apr 20, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gab-satchi, gabo1208

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [gab-satchi,gabo1208]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants